<?php

require_once('inc.config.php');

$useTemplate   = 'agent_admin.html';

if(!isLogin()){header("Location:register.php?msg=error3");}

$page = new QuickSkin ($useTemplate );

template_ini($page);
if(__user_prop__==0){
	$condition = array("aid" => __user_id__);
}else{
	$condition = array("uid" => __user_id__);
}

$type = $_GET["type"];
if(!isset($type)){$type=1;}

//$result = $myHouse->getSearchSellList($condition , $type , -1);
//$clist = $myHouse->getCollection();

$page->assign("indexcls" , "bfont");
//$page->assign("selllist" , $result);
//$page->assign("orderselIndex" , $type);
//$page->assign("clist" , $clist);
require_once("agent_admin_left.php");

$page->output();


ob_end_flush();

?>
